//
//  RootCollectionViewCell.m
//  UI16_UICollectionViewHomeWork
//
//  Created by dllo on 16/3/30.
//  Copyright © 2016年 XWH. All rights reserved.
//

#import "RootCollectionViewCell.h"

@implementation RootCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        self.imageView = [[UIImageView alloc] init];
        [self.contentView addSubview:self.imageView];
        
        
    }
    return self;
    
}

-(void)layoutSubviews{
    
    self.imageView.frame = self.contentView.bounds;
    self.imageView.backgroundColor = [UIColor greenColor];
    
}





@end
